package com.diors.game.engine.arpg.skill.find;

import com.diors.game.engine.arpg.object.AbstractObject;

/**
 * 查找目标实体
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013年11月28日
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
public class FindTarget 
{
	
	private SKTargetTypeEnum targetType;
	
	private AbstractObject attack;
	
	private AbstractObject target;

	private int targetX;
	
	private int targetY;
	
	private int dirX;
	
	private int dirY;
	
	public FindTarget (AbstractObject attack, SKTargetTypeEnum targetType, 
			AbstractObject target, int targetX, int targetY, int dirX, int dirY)
	{
		this.attack 	= attack;
		this.target 	= target;
		this.targetX 	= targetX;
		this.targetY 	= targetY;
		this.dirX 		= dirX;
		this.dirY 		= dirY;
		this.targetType = targetType;
	}

	public AbstractObject getAttack() {
		return attack;
	}

	public AbstractObject getTarget() {
		return target;
	}

	public int getTargetX() {
		return targetX;
	}

	public int getTargetY() {
		return targetY;
	}

	public int getDirX() {
		return dirX;
	}

	public int getDirY() {
		return dirY;
	}

	public SKTargetTypeEnum getTargetType() {
		return targetType;
	}
	
}
